namespace QLCONGNOLIBS.Securities.DungDD_SecurityFramework
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("IDepartment")]
    public partial class IDepartment_Entity
    {
        public IDepartment_Entity()
        {
        }

        public IDepartment_Entity(Guid departmentId_p, string departmentName_p, bool? isDeleted_p, string note_p)
        {
            DepartmentIdP = departmentId_p;
            DepartmentName = departmentName_p;
            isDeleted = isDeleted_p;
            Note = note_p;
        }

        [Key]
        public Guid DepartmentIdP { get; set; }

        [StringLength(100)]
        public string DepartmentName { get; set; }

        public bool? isDeleted { get; set; }

        [StringLength(400)]
        public string Note { get; set; }
    }
}
